import request from '../utils/request.js'
// 发送验证码
function sendlogin (data) {
  return request({
    url: '/au/code',
    method: 'post',
    data
  })
}
// 提交
function submitdata (data) {
  return request({
    url: '/au/login',
    method: 'post',
    data
  })
}

export { sendlogin, submitdata }
